import httpInstance from "@/utils/httpInstance.js"

export function getProblemListAPI(url) {
    return httpInstance.get(url)
}

export function getTagsAPI() {
    return httpInstance.get('/problem/tags')
}

export function getProblemAPI(url) {
    return httpInstance.get(url)
}

export function addSubmissionAPI(url, submission) {
    return httpInstance.post(url, submission)
}